package com.yunxin.core.application.dto.areas;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @author zero°
 * @since 2023-06-14
 */
@Data
@Schema(description = "区域响应对象")
public class AreasTwoLevelDTO implements Serializable {

    /**
     * 区域code
     */
    @Schema(description = "区域code")
    private String areaCode;

    /**
     * 区域名称
     */
    @Schema(description = "区域名称")
    private String areaName;
    /**
     * 下级区域
     */
    @Schema(description = "下级区域")
    private List<AreasTwoLevelDTO> subAreaList;
}
